<?php
        
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Subject
 *
 * @author user
 */
class Subject {
    //put your code here
    
    private $idSubject;
    private $subjectName;
    private $subjectLevel;
    private $passingGrade;
    private $teacherInCharge;
    
    public function _construct(){
         $this->subjectLevel=array();
        
  
    }
    
    public function setIdSubject($idSubject){
        $this->idSubject=$idSubject; 
    }
    
    public function setSubjectName($subjectName){
        $this->subjectName=$subjectName;
        
    }
    
    public function setSubjectLevel($subjectLevel){
        for($counter=0;$counter<sizeof($subjectLevel);$counter++){
                $this->subjectLevel[$counter]=$subjectLevel[$counter];
        }
        
    }
    
    public function setPassingGrade($passingGrade){
        $this->passingGrade=$passingGrade;
        
    }
    
    public function getIdSubject(){
       return $this->idSubject;
        
    }
    
    public function getSubjectName(){
        return $this->subjectName;
        
    }
    
    public function getSubjectLevel(){
        return $this->subjectLevel;
        
    }
    
    public function getIndividualSubjectLevel($counter){
         return $this->subjectLevel[$counter];
    }
    
    public function getPassingGrade(){
        return $this->passingGrade;
        
    }

    
    public function setTeacherInCharge($teacherInCharge){
        $this->teacherInCharge=$teacherInCharge;
    }
    
     public function getTeacherInCharge(){
        return $this->teacherInCharge;
    }
    
}

?>
